﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Create.Master"
    Inherits="System.Web.Mvc.ViewPage<DAL.SysWebSite>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
    网站
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <h2>
        网站</h2>   
    <fieldset>
        <legend>
            <input type="submit" value="创建" />
            <input type="button" onclick="BackList('SysWebSite')" value="返回列表" />
        </legend>
        <div class="bigdiv">
                     
            <div class="editor-label">
                <%: Html.LabelFor(model => model.Name) %>
            </div>
            <div class="editor-field">
                <%: Html.EditorFor(model => model.Name) %>
                <%: Html.ValidationMessageFor(model => model.Name) %>
            </div>     
            <div class="editor-label">
                <%: Html.LabelFor(model => model.Url) %>
            </div>
            <div class="editor-field">
                <%: Html.EditorFor(model => model.Url) %>
                <%: Html.ValidationMessageFor(model => model.Url) %>
            </div>     
            <div class="editor-label">
                <%: Html.LabelFor(model => model.LogOff) %>
            </div>
            <div class="editor-field">
                <%: Html.EditorFor(model => model.LogOff) %>
                <%: Html.ValidationMessageFor(model => model.LogOff) %>
            </div>        
            <div class="editor-label">
                <%: Html.LabelFor(model => model.State) %>
            </div>
            <div class="editor-field">
                <%=Html.DropDownListFor(model => model.State,App.Models.SysFieldsDDL.GetSysFields("SysWebSite","State"),"请选择")%>  
            </div>
        </div>
    </fieldset>   
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="HeadContent" runat="server">
    
    <script type='text/javascript'>
        $(function () {         
                        
        });
    </script>
</asp:Content>

